package com.winter.mapper;

import com.winter.model.TopicInfo;

import java.util.List;

public interface TopicInfoMapper {
     //查询所有枪手问题
    public List<TopicInfo> findAllGunManTopic(long gunManId);
    //查询所有提问者的问题
    public List<TopicInfo> findAllUserTopic(long userId);
    //查询提问者问题的数量
    public int findAllUserTopicCount(long userId);
    //查询枪手完结问题的数量
    public int findAllGunManFinishTopicCount(long gunManId);
    //查询所有提问者的问题 草稿count
    public int findAllUserTopicPaperCount(long userId);
    //查询所有枪手的正在进行解决问题数量  count
    public int findAllGunManDoingTopicCount(long gunManId);

}
